package com.smart.lib.entity;

import lombok.Data;

/**
 * 图书信息表实体类
 * */
@Data
public class BookInfo {
    private Integer book_id;
    private String book_cover; //图书封面照片
    private String isbn; //图书ISBN码
    private String title; //书名
    private String description; //书籍简介
    private String author; //作者
    private Integer category_id; //分类id
    private String publisher; //出版社
    private String publish_date; //出板时间
    private Integer total_copies; //入库总量
    private Integer available_copies; //可借阅数量
    private Integer borrow_copies; // 已借阅数量
    private String location; //书在书架的位置[9-4]
    private Integer book_status; // 图书维护状态 0是在库，1是借出，2是维护中
    private String create_time;

    //新增操作字段
    private String operation;
    private Integer user_id;
    private String category_name;
}
